/* ====================================================
#   Copyright (C) 2021  All rights reserved.
#
#   Author        : Jinjing Li
#   Email         : josiahleeoaa@outlook.com
#   File Name     : libSpFission.h
#   Last Modified : 2025-05-18 17:34
#   Describe      :
#
# ====================================================*/

#ifndef _LIBSPFISSION_H
#define _LIBSPFISSION_H

#include <cmath>
#include "Fission.hh"
#include "fissionEvent.h"
#include "libAlphaN.h"
#include <CLHEP/Units/PhysicalConstants.h>
#include "TRandom3.h"

#define MAX_ERROR_LENGTH 10000

// #define OUTPUT_2_ROOT_FILE

#ifdef OUTPUT_2_ROOT_FILE
#define max_fold 100

#include "TFile.h"
#include "TH1D.h"

#endif

void init(void);
void generator_spfission_basedon_freya_interface(int isotope, unsigned int nEvents, FILE *stream);
void generator_spfission_basedon_freya_fissevent(int isotope, unsigned int nEvents, FILE *stream);

#endif // _LIBSPFISSION_H
